package com.lrkj.system.domain;

import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 打印模板对象 sys_print_templet
 *
 * @author yajun_ren
 * @date 2022-04-07
 */
@Data
public class PrintTemplet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键标识 */
    private String id;

    /** 模板名称 */
    @Excel(name = "模板名称")
    private String title;

    /** 模板类型 */
    @Excel(name = "模板类型")
    private String templetType;

    /** 模板宽度 */
    @Excel(name = "模板宽度")
    private String width;

    /** 模板高度 */
    @Excel(name = "模板高度")
    private String height;

    /** 纸张宽度 */
    @Excel(name = "纸张宽度")
    private String pageWidth;

    /** 纸张高度 */
    @Excel(name = "纸张高度")
    private String pageHeight;

    /** 模板内容 */
    @Excel(name = "模板内容")
    private String tempContent;

    /** 状态 */
    @Excel(name = "状态")
    private String status;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("templetType", getTempletType())
            .append("width", getWidth())
            .append("height", getHeight())
            .append("pagewidth", getPageWidth())
            .append("pageheight", getPageHeight())
            .append("tempContent", getTempContent())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
